/*****
 * author: sailing
 * date: 2019/5/15
 *
 */

import { GetterTree } from 'vuex';

const getters: GetterTree<any, any> = {
    orderlist(state){
        console.log("获得 订单列表:", state)
        return state.order_list
    },
    search_state(state){
        console.log("查询列表:", state)
        return state.search_state_list
    },
    // 返回 订单 详情
    get_details(state){
        return state.order_details
    },

    // 返回 单个订单 详情
    get_sig_details(state){
        return state.details
    }
}
//const namespaced: boolean = true;
export default getters;
